package com.buddies.lottery.ui.user;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.resp.CheckWalletPwdResponse;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface UserContract {

    interface View extends IView {
        void onUpdateBalance();
        void onUpdateWallet();
        void onCheckWalletPwdSuccess(CheckWalletPwdResponse response);
    }

    interface Presenter extends IPresenter<View> {
        void loadBalance();
        void loadWallet();
        void loadUserInfo(long userId);
        void checkWalletPwd(String pwd);
    }

}
